The do...while statement will execute a block of code once, and then it will repeat the loop while a condition is true
do
{
code to be executed
}
while (condition) |
#Title: JavaScript Looping Statements
#Element: 172: JavaScript Looping Statements